package com.ruoyi.business.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * Statistics对象 business_statistics
 *
 * @author win
 * @date 2021-06-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Statistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /** 内容id */
    @Excel(name = "内容id")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long contentId;

    /** 访问者ip */
    @Excel(name = "访问者ip")
    private String clientIp;

    /** 访问者id */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long clientStaffId;

    /** 访问者所属部门归属 */
    private Integer clientBelong;

    /** 访问者所属部门id */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long clientDepartId;

    private List<String> ids;

    private Date createTimeBegin;

    private Date createTimeEnd;
}
